from captcha.fields import CaptchaField
from django import forms


class LoginForm(forms.Form):
    username = forms.CharField(required=True)
    password = forms.CharField(required=True, min_length=8)


class DynamicLoginForm(forms.Form):
    """登录验证码"""
    captcha = CaptchaField()
